#ifndef __BULLETBALL_H__
#define __BULLETBALL_H__

#include "GameGlobal.h"
#include "RectLayout.h"

class BulletBall :public CCSprite
{
private:
	TBulletState			m_bulletState;
	CCPoint					m_startPoint;
	CCPoint					m_endPoint;

public:
	BulletBall(CCPoint startPoint,CCPoint endPoint):
		m_bulletState(kNormalBullet),
		m_startPoint(startPoint),
		m_endPoint(endPoint){}

	static BulletBall*		create(CCPoint startPoint,CCPoint endPoint);

	CCRect					Rect();
	void					StartMove();
	void					ReStartMove();
	CCPoint					GetLocation();
};

#endif